package com.bchun.gamepk.web.action;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.bchun.gamepk.model.Applications;
import com.bchun.gamepk.service.IApplicationsService;
import com.bchun.gamepk.web.action.BaseAction;
import com.bchun.gamepk.service.IBaseService;

/**
 *<pre>
 * Created by Luoxudong at 2014-02-27 00:16:55
 *
 * 天天捞金
 *
 * GamePK. Copyright (C): 2014
 *
 * Description:
 *
 * Revision History
 * Date              Author        Description
 * 2014-02-27        Luoxudong     初始化设计
 *
 *</pre>
 */
public class ApplicationsAction extends BaseAction<Applications> {

	private static final long serialVersionUID = -1L;
	protected final static Log log = LogFactory.getLog(ApplicationsAction.class);
	private IApplicationsService mapplicationsService;

	private List<Integer> cbxSelect;

    public ApplicationsAction(IApplicationsService applicationsService){
    	cls = Applications.class;
        mapplicationsService = applicationsService;
    }
    
    @Override
	protected IBaseService<Applications> service() {
		return mapplicationsService;
	}

	@Override
	protected List<?> cbxSelect() {
		return cbxSelect;
	}

	public void setCbxSelect(List<Integer> cbx){
		cbxSelect = cbx;
	}
	
	public String getResultMessage(){
		return resultMessage;
	}

}